package com.CST.entity.ys;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 业务量配套指标
 * @author cw
 */
@Getter
@Setter
@TableName("YS_BUSINESS_TARGET")
@ApiModel(value = "YsBusinessTarget对象", description = "业务量配套指标")
public class YsBusinessTarget implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(type= IdType.AUTO)
    @ExcelIgnore
    private Long id;

    @ApiModelProperty("编号")
    @TableField("NUM")
    @ExcelIgnore
    private Long num;

    @ApiModelProperty("预算科目ID")
    @TableField("SUBJECT_ID")
    @ExcelProperty("预算科目ID")
    private Integer subjectId;

    @ApiModelProperty("部门编码")
    @TableField("DEPT_CODE")
    @ExcelProperty("部门编码")
    private String deptCode;

    @ApiModelProperty("预算率")
    @TableField("BUDGET_RATE")
    @ExcelProperty("预算率")
    private BigDecimal budgetRate;

    @ApiModelProperty("三香执行率")
    @TableField("SX_IMPLEMENTATION_RATE")
    @ExcelProperty("三香执行率")
    private BigDecimal sxImplementationRate;

    @ApiModelProperty("浒关执行率")
    @TableField("XG_IMPLEMENTATION_RATE")
    @ExcelProperty("浒关执行率")
    private BigDecimal xgImplementationRate;

    @ApiModelProperty("全院执行率")
    @TableField("QY_IMPLEMENTATION_RATE")
    @ExcelProperty("全院执行率")
    private BigDecimal qyImplementationRate;

    @ApiModelProperty("时间")
    @TableField("PERIOD")
    @ExcelProperty("时间")
    private Integer period;

    @ApiModelProperty("创建时间")
    @TableField("CREATE_TIME")
    @ExcelIgnore
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("UPDATE_TIME")
    @ExcelIgnore
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人")
    @TableField("CREATE_BY")
    @ExcelIgnore
    private String createBy;

    @ApiModelProperty("修改人")
    @TableField("UPDATE_BY")
    @ExcelIgnore
    private String updateBy;

    @ApiModelProperty("删除 0:未删除 1:已删除")
    @TableField("DELETE_FLAG")
    @ExcelIgnore
    private Integer deleteFlag;

    @ApiModelProperty("导入：0  新增：1")
    @TableField("INSERT_FLAG")
    @ExcelIgnore
    private Integer insertFlag;
}
